<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="../base.jsp" %>
<!DOCTYPE html>
<html>

<head>
    <!-- 页面meta -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>数据 - AdminLTE2定制版</title>
    <meta name="description" content="AdminLTE2定制版">
    <meta name="keywords" content="AdminLTE2定制版">
    <!-- Tell the browser to be responsive to screen width -->
    <meta content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" name="viewport">
    <!-- 页面meta /-->
</head>
<body>
<div id="frameContent">
<h2 style="color: #00a65a" align="center">恭喜您激活成功!!!</h2>
    <h4 align="center"><img src="../../../img/duihao.jpg"></h4>
    <br>
    <body  onload="run()">
    <a id="href" align="center" href="${pageContext.request.contextPath}/toShouYe.do?email=${email}&password=${password}"><h3 id="spanId">5</h3><h4>秒后系统会自动跳转到首页，也可点击本处直接跳转</h4></a>
    </body>
    <br>

    <script type="text/javascript">

        var x = 5;
        function run(){
            var span = document.getElementById("spanId");
            span.innerHTML = x;
            x--;
            window.setTimeout("run()", 1000);
            if (x==0){
                document.getElementById("href").click()

            }
        }
    </script>
</div>
</body>

